package com.juzipi.common.constant;

/**
 * 通用常量信息
 */

public class Constants {

    /**
     * 用户相关
     */
    public static final String LOGIN_USER_KEY = "login_user_key:";//存入redis的登录用户信息的key的前缀

    public static final String TOKEN = "token";

    public static final String UTF8 = "UTF-8";

    public static final String USERNAME = "username";

    public static final String PHONE_NUMBER = "phoneNumber";

    public static final String EMAIL = "email";

    public static final String UNIQUE = "0";//代表唯一

    public static final String NOT_UNIQUE = "1";//代表不唯一

    public static final String CODE_EXPIRED = "expired";//验证码过期

    public static final String CODE_ERROR = "error";//验证码错误





    /**
     * 登录用户状态判断
     */
    public static final Boolean USER_STATUS = true;//用户状态，true启用，false禁用

    public static final Boolean USER_NON_LOCKED = true;//用户是否未锁定



}
